package com.zjy.service;

import com.zjy.dto.ListResponse;
import com.zjy.dto.OrderDTO;
import com.zjy.dto.OrderParam;
import com.zjy.dto.OrderQTO;

import java.util.HashMap;
import java.util.List;

/**
 * Created by Administrator on 2019/5/20.
 */
public interface OrderService {
    String addOrder(OrderDTO orderDTO);

    int deleteOrderById(List<String> idList);

    int deliverOrder(String orderId);

    int payOrder(String orderId);

    int completeOrder(String orderId);

    OrderQTO selectOrderById(String orderId);

    //List<OrderQTO> selectOrderList(OrderParam orderParam);

    ListResponse selectOrderList(OrderParam orderParam);

    HashMap<String,Object> getOrderData();
}
